import request from '@/utils/request.js'
// 裁片入库-根据款式读取裁片入库物料列表
export const getArbitrage = (params) => {
  return request.post('ProductManager/ShelfLocation/GetGoodKWLocationList', params)
}
// 根据仓库标识读取货架列表
export const getCarouselArr = (params) => {
  return request.post('ProductManager/KCClient/GetShelfLocationByWarehouse', params)
}
// 下架任务：根据货架读取各个库位中存放的货物
export const getDownHouseMaterielsByShelf = (params) => {
  return request.post('ProductManager/KCClient/GetDownHouseMaterielsByShelf', params)
}
// 下架
export const offShelf = (params) => {
  return request.post('ProductManager/KCClient/SaveShelfTaskRegister', params)
}
// 撤销下架
export const delShelf = (params) => {
  return request.post('ProductManager/KCClient/DelDownShelfTaskRegister', params)
}
// 根据物料类型读取待货区仓库中物料列表
export const getMaterielList = (params) => {
  return request.post('ProductManager/KCClient/GetNotSelectMaterielsByWarehouse', params)
}
// 根据货架读取各个库位中存放的货物
export const getHouseMaterielsByShelf = (params) => {
  return request.post('ProductManager/KCClient/GetHouseMaterielsByShelf', params)
}
// 上架任务：替换操作
export const changeShelf = (params) => {
  return request.post('ProductManager/KCClient/UpShelfTaskRegister', params)
}
// 上架任务：撤销操作任务
export const deleteShelf = (params) => {
  return request.post('ProductManager/KCClient/DelShelfTaskRegister', params)
}
